package com.rainng.coursesystem.repository;

import com.rainng.coursesystem.model.TeacherItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface TeacherFollowRepository extends JpaRepository<TeacherItem, Long> {
    Optional<TeacherItem> findByNumber(String number);
}